package com.example.demo.mongo.dao;

import com.example.demo.mongo.Attention;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import reactor.core.publisher.Flux;

/**
 * @author wujunyu
 * @date 2020/9/16 15:02
 */
public interface AttentionRepoistory extends ReactiveMongoRepository<Attention,String> {
    
    Flux<Attention> findAllByUserId(String userId);
}
